.swiper-container {
    width: 100%;
    height: 0px;
    padding-bottom: 100%;
    overflow: hidden;
    margin: 0;
    position: relative;
}

.swiper-slide {
    width: 100%;
    height: 0px;
    padding-bottom: 100%;
    overflow: hidden;
    margin: 0;
    position: relative;
}

.swiper-slide img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.good-page .good-name {
    height: 1rem;
    line-height: 1rem;
    font-size: 16px;
    overflow: hidden;
}

.good-page .good-price {
    color: #EC5151;
    font-size: 16px;
    margin: .1rem 0;
}

.good-page .count-box {
    color: #999;
    font-size: 13px;
}

.good-page .detail {
    margin-top: .5rem;
}

.good-page .detail .button {
    font-size: 14px;
}

.good-page .bottom {
    position: fixed;
    width: 100%;
    z-index: 1000;
    bottom: 0;
    padding: .4rem;
    background: #fff;
}

.good-page .bottom a {
    text-align: center;
}

.good-page .bottom .kefu {
    float: left;
    font-size: 11px;
    margin-right: .3rem;
    margin-top: .1rem;
}



.good-page .bottom em {
    display: block;
    line-height: .3rem;
}

.good-page .bottom .cart {
    margin-top: .1rem;
    float: left;
    font-size: 11px;
    display: block;
    position: relative;
}
.good-page .bottom .cart .cart-num {
    border-radius: 100%;
    position: absolute;
    top: -.15rem;
    right: .15rem;
    height: .66rem;
    line-height: .66rem;
    min-width: .66rem;
    background: #EC5151;
    text-align: center;
    color: #fff;
}
.good-page .bottom .join-cart {
    float: right;
    width: 37%;
    padding: 0 .8rem;
    height: 1.8rem;
    line-height: 1.8rem;
    display: block;
    margin-right: .5rem;
    
}

.good-page .bottom .buy-now {
    float: right;
    width: 37%;
    height: 1.8rem;
    padding: 0 .8rem;
    line-height: 1.8rem;
}

.good-page .icon-font {
    display: block;
    font-size: 16px;
}

.mask{
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .7;
}
.good-page .good-select-panel{
    position: fixed;
    visibility: hidden;
    bottom: -12rem;
    left: 0;
    width: 100%;
    height: 12rem;
    z-index: 3000;
    background: #fff;
    transition: all .2s cubic-bezier(0,0,.25,1);
}
.good-page .show{
    visibility: visible;
    transform:  translate3d(0,-12rem,0);

}
.good-page .good-select-panel  .thumb{
    width: 4rem;
    float: left;
}
.good-page .good-select-panel .text-box{
    margin-left: 4.5rem;
    position: relative;
}
.good-page .good-select-panel .text-box .close{
    position: absolute;
    top: -.5rem;
    right: 0rem;
    font-size: 22px;
}
.good-page .good-select-panel .name{
    height: 2rem;
    line-height: 1rem;
    overflow:hidden;
    padding-right: 1rem;
}
.good-page .good-select-panel .price{
    color: #EC5151;
    font-size: 16px;
}
.good-page .good-select-panel .store{
    color: #666;
}
.good-page .good-select-panel .num{
  border:1px solid #ddd;
  float: left;
}
.good-page  .good-select-panel .num input{
    border-top: none;
    width: 1.3rem;
    height: 1.2rem;
    float: left;
    text-align: center;
    border-bottom: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}
.good-page .good-select-panel .num a{
    position: relative;
    float: left;
    width: 1.2rem;
    height: 1.2rem;
}
.good-page .good-select-panel .num .subtract:before{
    display: block;
    content: '';
    position: absolute;
    width: .74rem;
    background: #666;
    height: .05rem;
    top:50%;
    left:50%;
    margin-top: -.025rem;
    margin-left: -.37rem;
}

.good-page .good-select-panel .num .add:before{
    display: block;
    content: '';
    position: absolute;
    width: .74rem;
    background: #666;
    height: .05rem;
    top:50%;
    left:50%;
    margin-top: -.025rem;
    margin-left: -.37rem;
}

.good-page .good-select-panel .num .add:after{
    display: block;
    content: '';
    position: absolute;
    height: .74rem;
    background: #666;
    width: .05rem;
    margin-left: -.025rem;
    top:50%;
    left:50%;
    margin-top: -.37rem;
}
.good-page .good-select-panel .box {
    margin: 1rem 0;
}
.good-page .good-select-panel .box .mtitle{
    margin-bottom: .2rem;
}
.good-page .good-select-panel  .buttons {
    display: flex;
    /*position: fixed;*/
    position: absolute;
    left: 0;
    width: 100%;
    bottom: .5rem;
}
.good-page .good-select-panel  .buttons a{
    color: #fff;
    flex: 1;
    margin: 0 .4rem;
    text-align: center;
    font-size: 15px;   
    padding: .35rem;
    border-radius: .2rem; 
}
.good-page .good-select-panel  .buttons .ok{
    background: #DD2727;
}

.product-description img {
    width: 100% !important;
}